home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 2.iso / dist / fw_urt.idb / usr / freeware / include / pyramid.h.z / pyramid.h
C/C++ Source or Header  |  1999-01-26  |  693b  |  32 lines

  1. /* 
  2.  * pyramid.h - Types, constants, globals, routine decls for pyramids
  3.  * 
  4.  * Author:    Rod Bogart
  5.  *         Computer Science Dept.
  6.  *         University of Utah
  7.  * Date:    Thu Mar 12 1987
  8.  * Copyright (c) 1987 Rod Bogart
  9.  * 
  10.  */
  11. #define and &&
  12. #define or ||
  13. #define not !
  14.  
  15. #define MASKSIZE 5
  16. #define MASKBELOW 2            /* MASKBELOW = (MASKSIZE-1) / 2; */
  17. #define MASKABOVE 2            /* MASKABOVE = MASKSIZE / 2; */
  18.  
  19. typedef struct
  20. {
  21.     /* pointers to the corners of the arrays for each level */
  22.     rle_pixel ** corners;
  23.  
  24.     int *xlen, *ylen;            /* sizes of each level */
  25.  
  26.     int nchan;                /* total channels per level */
  27.  
  28.     int levels;                /* number of levels in this pyramid */
  29. } pyramid;
  30.  
  31. float * gauss_mask();
  32.